package com.hp.tiger.chapter1;

/**
 * @author XavierDong
 **/
public class SingletonObject3 {


    private static SingletonObject3 instance;

    private SingletonObject3() {
        //empty
    }

    public static synchronized SingletonObject3 getInstance() {
        if (null == instance)
            instance = new SingletonObject3();
        return SingletonObject3.instance;
    }
}
